package com.kkb.cubemall.product.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 分类品牌关系表
 *
 * @author LiJun
 * @email 978988415@qq.com
 * @date 2021-05-18 19:42:38
 */
@Data
@TableName("tb_category_brand")
public class CategoryBrandEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @TableId
    private Integer id;
    /**
     * 分类ID
     */
    private Integer categoryId;
    /**
     * 品牌ID
     */
    private Integer brandId;

    @TableField(exist = false)
    private String categoryName;

    @TableField(exist = false)
    private String brandName;

}
